package rtk;


import rtk.olinkstar.RtkService;

/**
 * Created by Mr.Fan on 2017/5/30.
 */

public class RtkHub extends RtkService {

    public RtkHub(BleManager bleManager, OnNmeaListener onNmeaListener) {
        super(bleManager, onNmeaListener);
    }

    public double getLongitude() {
        return nmeaAnalyzer.getLongitude();
    }

    public double getLatitude() {
        return nmeaAnalyzer.getLatitude();
    }

    private String getLatitudeNS() {
        return nmeaAnalyzer.getLatitudeNS();
    }

    private String getLongitudeEW() {
        return nmeaAnalyzer.getLongitudeEW();
    }

    public double getAltitude() {
        return nmeaAnalyzer.getAltitude();
    }

    public int getMode() {
        return nmeaAnalyzer.getMode();
    }

    public double getSpeed() {
        return nmeaAnalyzer.getSpeed();
    }

    public String getUtcDateTime() {
        return nmeaAnalyzer.getUtcDateTime();
    }

    public double getBearing() {
        return nmeaAnalyzer.getBearing();
    }

    public int getUStates() {
        return nmeaAnalyzer.getUstars();
    }

    public double getAccuracy() {
        return nmeaAnalyzer.getSdkAccuracy();
    }

    public double getDop() {
        return nmeaAnalyzer.getDop();
    }

}
